package com.miaoxun.service.timer;//package com.miaoxun.service.timer;

import com.miaoxun.common.log.LogHelper;

import com.miaoxun.utils.net.IRequest;
import com.miaoxun.utils.net.MNRequest;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.quartz.SchedulerException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

/**
 * 定时任务 5s执行
 * ScheduleRefreshDatabase#scheduleUpdateCronTrigger
 */

@Configuration
@EnableScheduling
@Component
public class ScheduleRefreshDatabase {


    int i = 1;
    int k = 1;

//
//    @Scheduled(fixedRate = 100) // 每隔5s
//    @Async
//    public void scheduleUpdateCronTrigger() {
//
//
//    }
}


